package com.ws.shop.entity;

import java.util.HashMap;
import java.util.Map;

public class Mall extends BaseEntity{
	private int id;
	private int gid;
	private String title;
	private int goodspic;
	private float costprice;
	private float price;
	private int inventory;
	private int currentnum;
	private int recommend;
	private int integral;
	private int type;
	private int state;
	private String html;
	
	public final static Map<String,String> STATE_DESCS = new HashMap<String,String>();
	
	static{
		STATE_DESCS.put("0", "进行中");
		STATE_DESCS.put("1", "结束");
	}
	
	public Mall(int id, int gid, String title, int goodspic, float costprice,
			float price, int inventory, int currentnum, int recommend,
			int integral, int type, int state, String html) {
		this.id = id;
		this.gid = gid;
		this.title = title;
		this.goodspic = goodspic;
		this.costprice = costprice;
		this.price = price;
		this.inventory = inventory;
		this.currentnum = currentnum;
		this.recommend = recommend;
		this.integral = integral;
		this.type = type;
		this.state = state;
		this.html = html;
	}

	public int getGoodspic() {
		return goodspic;
	}

	public void setGoodspic(int goodspic) {
		this.goodspic = goodspic;
	}

	public String getHtml() {
		return html;
	}

	public void setHtml(String html) {
		this.html = html;
	}

	public Mall(){}

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getGid() {
		return gid;
	}
	public void setGid(int gid) {
		this.gid = gid;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public float getCostprice() {
		return costprice;
	}
	public void setCostprice(float costprice) {
		this.costprice = costprice;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	public int getInventory() {
		return inventory;
	}
	public void setInventory(int inventory) {
		this.inventory = inventory;
	}
	public int getCurrentnum() {
		return currentnum;
	}
	public void setCurrentnum(int currentnum) {
		this.currentnum = currentnum;
	}
	public int getRecommend() {
		return recommend;
	}
	public void setRecommend(int recommend) {
		this.recommend = recommend;
	}
	public int getIntegral() {
		return integral;
	}
	public void setIntegral(int integral) {
		this.integral = integral;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	
	
}